package com.example.socialmediaplatform.post;

import java.util.Date;

public class PostCommentDTO {
    private Long id;
    private String username;
    private String content;
    private Date createTime;

    public PostCommentDTO() {}

    public PostCommentDTO(String username, String content, Date createTime) {
        this.username = username;
        this.content = content;
        this.createTime = createTime;
    }

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public String getUsername() { return username; }
    public void setUsername(String username) { this.username = username; }

    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }

    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
} 
